<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<div class="bjui-pageHeader">
       <form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/management/customer/pageList.do" method="post">
        <input type="hidden" name="pageSize" value="${vo.pageSize}">
        <input type="hidden" name="pageCurrent" value="${vo.pageCurrent}">
        <input type="hidden" name="orderField" value="${vo.orderField}">
        <input type="hidden" name="orderDirection" value="${vo.orderDirection}">    
       <div class="bjui-searchBar">
         	<label>机构编码：</label><input type="text" name="orgCode" value="${param.orgCode}" class="form-control" size="10" readonly />
         	<label>员工工号：</label><input type="text" name="staffNum" value="${param.staffNum}" class="form-control" size="10" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
        </div>
    </form>
     <button type="button" class="btn btn-default" data-toggle="dialog" data-width="550" data-height="450" data-id="dialog-mask" data-mask="true" data-url="${ctx}/management/customer/initAdd.do?orgCode=${param.orgCode}" data-title="添加参数">添加</button>
</div>

<div class="bjui-pageContent">
       	<table  data-width="100%"   class="table table-bordered table-hover table-striped table-top" data-toggle="tablefixed" >
    	<thead>
    	<tr>
    		<th>客户姓名</th>
    		<th>身份证号</th>
    		<th>等级</th>
    		<th>联系电话</th>
    		<th>联系地址</th>
    		<th>开户行</th>
    		<th>银行卡号</th>
    		<th>银行编码</th>
    		<th>操作</th>
    	</tr>
    	</thead>
    	<tbody>
    	<c:forEach var="list" items="${objList}">
	    	<tr>
	    		<td>${list.custName}</td>
	    		<td>${list.identityNum}</td>
	    		<td>${list.custLevel}</td>
	    		<td>${list.linkPhone}</td>
	    		<td>${list.linkAddress}</td>
	    		<td>${list.bankName}</td>
	    		<td>${list.bankAccount}</td>
	    		<td>${list.bankCardNo}</td>
	    		<td>
	    			<a href="${ctx}/management/customer/${list.intID}/initEdit.do?orgCode=${param.orgCode}" class="btn btn-default" data-toggle="dialog" data-width="550" data-height="450" data-id="dialog-mask" data-mask="true">编辑</a>
	    			<!-- <a href="${ctx}/management/customer/${list.intID}/delete.do" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除吗？">删除</a>-->
	    			<a href="${ctx}/management/order/showOrderlist.do?custId=${list.intID}" class="btn btn-default" data-toggle="dialog" data-width="800" data-height="500" data-id="dialog-mask" data-mask="true">查看客户合同</a>
	    			<a href="${ctx}/management/customer/interest/${list.intID}/showList.do" class="btn btn-default" data-toggle="navtab"  data-id="dialog-mask" data-mask="true">关联收益人</a>
	    		</td>
	    	</tr>
    	</c:forEach>
    	</tbody>
    </table>
</div>
<%@ include file="/commons/pagination.jsp" %>

